package com.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ModelNotFoundException extends RuntimeException {

    private Integer code;

    public ModelNotFoundException(){
        super();
    }

    public ModelNotFoundException(Integer code, String message){
        super(message);
        this.code = code;
    }
}
